﻿using Vibstudio.X4NET.IO.Path;

namespace Vibstudio.X4NET.IO
{
    public class FileValidationResult : OperationResult<FilePath>, IValidatableResult
    {
        public FileValidationResult(FilePath target, string validationName, bool isPerformed = true)
            : this(target, validationName, isPerformed, string.Empty)
        {
        }

        public FileValidationResult(FilePath target, string validationName, bool isPerformed = true, string message = "")
            : base(isPerformed, message, target)
        {
            ValidationName = validationName;
        }

        public string ValidationName { get; set; }
    }
}
